<?php

class BonusTransferCashPageLink extends Extension {
	function getBonusTransferCash(){
        $page = BonusTransferCashPage::get()->find('ClassName', 'BonusTransferCashPage');
        if($page) return $page;
    }
    
    function getBonusTransferCashLink() {
        $page = $this->getBonusTransferCash();
        if($page) return $page->Link();
    }
	
    function getBonusTransferCashStatement(){
        $page = BonusTransferCashStatementPage::get()->find('ClassName', 'BonusTransferCashStatementPage');
        if($page) return $page;
    }
    
    function getBonusTransferCashStatementLink() {
        $page = $this->getBonusTransferCashStatement();
        if($page) return $page->Link();
    }
}
